package com.lovehena.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.LinkedHashMap;
import java.util.Map;

// getUrl(settings) + "/app/person/auth/person/auth/init
@RestController
@RequestMapping("testAuth")
public class TestAuthController {
    @GetMapping("/auth")
    public Map<String, Object> auth() {
        LinkedHashMap<String, Object> res = new LinkedHashMap<>();
        res.put("code", 0);
        res.put("message", "校验成功！");
        return res;
    }
}
